package com.sduept.zj103.model;

public class Asdu {
    public int type; //1个字节
    public int vsq; //1个字节
    public int cot; //1个字节
    public int asduAddr; //2个字节
    public int fun; //1个字节
    public int inf; //1个字节
    public byte[] element;
    public static final int ASDUMAXLEN = 4092; //APDU长度最大4096 - 4个控制域
    public static final int ASDUHEADERLEN = 7;
    public static final int FUN_COMM = 253; //通信状态
    public static final int TYPE_COMMSTATE = 1; //开关量变位，录波器通信状态
    public static final int TYPE_LBFILE = 14; //录波文件
    public static final int TYPE_FILELIST = 16; //文件列表
    public static final int TYPE_DEVTIME = 32; //装置时间
    public static final int TYPE_LBRECORD_FILE = 114; //录波简报文件

    public Asdu() {
        type = 0;
        vsq = 0;
        cot = 0;
        asduAddr = 0;
        fun = 0;
        inf = 0;
    }
}
